Given
that I'm at the Holidaymaker home page
7s 591ms
When
I choose Frankrike
1s 226ms
And
I enter check-in date
1s 50ms
And
I enter check-out date
1s 35ms
And
I enter the number of adults
1s 230ms
And
I enter the number of kids
1s 245ms
And
I enter the number of babies
1s 246ms
And
I click the Sök button
1s 235ms
Then
I click Info button to see information
9ms
Show Error +
TypeError: Cannot read property 'click' of null
at createWorld.(anonymous) (C:\Users\jitma\Desktop\Holidaymaker\js-frontend\tests\selenium\step-definitions\search.js:182:22)
at processTicksAndRejections (internal/process/task_queues.js:93:5)
TypeError: Cannot read property 'click' of null
at createWorld.(anonymous) (C:\Users\jitma\Desktop\Holidaymaker\js-frontend\tests\selenium\step-definitions\search.js:182:22)
at processTicksAndRejections (internal/process/task_queues.js:93:5)
And
The page shows hotel information.
0s
Then(/^The page shows hotel information.$/, function(callback) {
// Write code here that turns the phrase above into concrete actions
callback(null, 'pending');
});